﻿#ifndef _RECORD_VO_H_
#define _RECORD_VO_H_

#include "oatpp/core/Types.hpp"
#include "oatpp/core/macro/codegen.hpp"

#include OATPP_CODEGEN_BEGIN(DTO)

class RecordVo : public oatpp::DTO {
	DTO_INIT(RecordVo, DTO)
	DTO_FIELD(String, id, "id");
	DTO_FIELD(String, deviceId, "deviceId");
	DTO_FIELD(String, deviceName, "deviceName");
	DTO_FIELD(String, eventId, "eventId");
	DTO_FIELD(Int32, eventType, "eventType");
	DTO_FIELD(Int32, image, "image");
	DTO_FIELD(String, startTime, "startTime");
	DTO_FIELD(String, stopTime, "stopTime");
	DTO_FIELD(String, name, "name");
	DTO_FIELD(Int32, size, "size");
	DTO_FIELD(Int32, duration, "duration");
	DTO_FIELD(String, path, "path");
	DTO_FIELD(String, url, "url");
	DTO_FIELD(String, createTime, "createTime");
	DTO_FIELD(Int32, upload, "upload");
	DTO_FIELD(String, uploadTime, "uploadTime");
};

#include OATPP_CODEGEN_END(DTO)

#endif